<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_40) on Sun Feb 14 21:38:39 CET 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GraphElementsController (gephi 0.9.1 API)</title>
<meta name="date" content="2016-02-14">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="GraphElementsController (gephi 0.9.1 API)";
        }
    }
    catch(err) {
    }
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/GraphElementsController.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/gephi/datalab/api/DataLaboratoryHelper.html" title="class in org.gephi.datalab.api"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/gephi/datalab/api/SearchReplaceController.html" title="interface in org.gephi.datalab.api"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/gephi/datalab/api/GraphElementsController.html" target="_top">Frames</a></li>
<li><a href="GraphElementsController.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.gephi.datalab.api</div>
<h2 title="Interface GraphElementsController" class="title">Interface GraphElementsController</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public interface <span class="typeNameLabel">GraphElementsController</span></pre>
<div class="block"><p>This interface defines part of the Data Laboratory API basic actions.</p>
 <p>It contains methods for manipulating the nodes and edges of the graph.</p>
 <p>All the provided methods take care to check first that the nodes and edges to manipulate are in the graph.</p></div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Eduardo Ramos</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#areEdgesInGraph-org.gephi.graph.api.Edge:A-">areEdgesInGraph</a></span>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>[]&nbsp;edges)</code>
<div class="block">Checks if an array of edges are contained in the main view graph.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#areNodesInGraph-org.gephi.graph.api.Node:A-">areNodesInGraph</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</code>
<div class="block">Checks if an array of nodes are contained in the main view graph.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createEdge-org.gephi.graph.api.Node-org.gephi.graph.api.Node-boolean-">createEdge</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
          boolean&nbsp;directed)</code>
<div class="block">Creates and edge between source and target node (if it does not already exist), directed or undirected, in the current graph.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createEdge-org.gephi.graph.api.Node-org.gephi.graph.api.Node-boolean-org.gephi.graph.api.Graph-">createEdge</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
          boolean&nbsp;directed,
          <a href="../../../../org/gephi/graph/api/Graph.html" title="interface in org.gephi.graph.api">Graph</a>&nbsp;graph)</code>
<div class="block">Creates and edge between source and target node (if it does not already exist), directed or undirected.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createEdge-org.gephi.graph.api.Node-org.gephi.graph.api.Node-boolean-java.lang.Object-">createEdge</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
          boolean&nbsp;directed,
          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;typeLabel)</code>
<div class="block">Creates and edge between source and target node (if it does not already exist), directed or undirected, in the current graph.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createEdge-org.gephi.graph.api.Node-org.gephi.graph.api.Node-boolean-java.lang.Object-org.gephi.graph.api.Graph-">createEdge</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
          boolean&nbsp;directed,
          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;typeLabel,
          <a href="../../../../org/gephi/graph/api/Graph.html" title="interface in org.gephi.graph.api">Graph</a>&nbsp;graph)</code>
<div class="block">Creates and edge between source and target node (if it does not already exist), directed or undirected.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createEdge-java.lang.String-org.gephi.graph.api.Node-org.gephi.graph.api.Node-boolean-">createEdge</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
          boolean&nbsp;directed)</code>
<div class="block">Creates and edge between source and target node (if it does not already exist), directed or undirected.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createEdge-java.lang.String-org.gephi.graph.api.Node-org.gephi.graph.api.Node-boolean-org.gephi.graph.api.Graph-">createEdge</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
          boolean&nbsp;directed,
          <a href="../../../../org/gephi/graph/api/Graph.html" title="interface in org.gephi.graph.api">Graph</a>&nbsp;graph)</code>
<div class="block">Creates and edge between source and target node (if it does not already exist), directed or undirected, in the current graph.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createEdge-java.lang.String-org.gephi.graph.api.Node-org.gephi.graph.api.Node-boolean-java.lang.Object-">createEdge</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
          boolean&nbsp;directed,
          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;typeLabel)</code>
<div class="block">Creates and edge between source and target node (if it does not already exist), directed or undirected.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createEdge-java.lang.String-org.gephi.graph.api.Node-org.gephi.graph.api.Node-boolean-java.lang.Object-org.gephi.graph.api.Graph-">createEdge</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
          boolean&nbsp;directed,
          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;typeLabel,
          <a href="../../../../org/gephi/graph/api/Graph.html" title="interface in org.gephi.graph.api">Graph</a>&nbsp;graph)</code>
<div class="block">Creates and edge between source and target node (if it does not already exist), directed or undirected, in the current graph.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createEdges-org.gephi.graph.api.Node-org.gephi.graph.api.Node:A-boolean-">createEdges</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
           <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;allNodes,
           boolean&nbsp;directed)</code>
<div class="block">Tries to create edges between the source node and all other edges, directed or undirected.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createNode-java.lang.String-">createNode</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label)</code>
<div class="block">Creates a node with default id and the given label in the current graph.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createNode-java.lang.String-org.gephi.graph.api.Graph-">createNode</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
          <a href="../../../../org/gephi/graph/api/Graph.html" title="interface in org.gephi.graph.api">Graph</a>&nbsp;graph)</code>
<div class="block">Creates a node with default id and the given label.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createNode-java.lang.String-java.lang.String-">createNode</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</code>
<div class="block">Creates a node with the given id and label in the current graph.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createNode-java.lang.String-java.lang.String-org.gephi.graph.api.Graph-">createNode</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
          <a href="../../../../org/gephi/graph/api/Graph.html" title="interface in org.gephi.graph.api">Graph</a>&nbsp;graph)</code>
<div class="block">Creates a node with the given id and label.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#deleteEdge-org.gephi.graph.api.Edge-">deleteEdge</a></span>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</code>
<div class="block">Tries to delete an edge checking first if it is on the graph.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#deleteEdges-org.gephi.graph.api.Edge:A-">deleteEdges</a></span>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>[]&nbsp;edges)</code>
<div class="block">Tries to delete an array of edges checking first if they are on the graph.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#deleteEdgesWithNodes-org.gephi.graph.api.Edge:A-boolean-boolean-">deleteEdgesWithNodes</a></span>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>[]&nbsp;edges,
                    boolean&nbsp;deleteSource,
                    boolean&nbsp;deleteTarget)</code>
<div class="block">Tries to delete an array of edges checking first if they are on the graph
 and also deletes their source and target node if it is indicated.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#deleteEdgeWithNodes-org.gephi.graph.api.Edge-boolean-boolean-">deleteEdgeWithNodes</a></span>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge,
                   boolean&nbsp;deleteSource,
                   boolean&nbsp;deleteTarget)</code>
<div class="block">Tries to delete an edge checking first if it is on the graph
 and also deletes its source and target node if it is indicated.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#deleteNode-org.gephi.graph.api.Node-">deleteNode</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Tries to delete a node checking first if it is on the graph.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#deleteNodes-org.gephi.graph.api.Node:A-">deleteNodes</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</code>
<div class="block">Tries to delete an array of nodes checking first if they are on the graph.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#duplicateNode-org.gephi.graph.api.Node-">duplicateNode</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Duplicates a node if it is in the graph, and returns the new node.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#duplicateNodes-org.gephi.graph.api.Node:A-">duplicateNodes</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</code>
<div class="block">Tries to duplicate an array of nodes with the same behaviour as <code>duplicateNode</code> method.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#getEdgesCount--">getEdgesCount</a></span>()</code>
<div class="block">Returns the number of edges in the graph.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#getNodeEdges-org.gephi.graph.api.Node-">getNodeEdges</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Prepares and returns an array with the edges incident to the specified node.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#getNodeNeighbours-org.gephi.graph.api.Node-">getNodeNeighbours</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Prepares and returns an array with the neighbour nodes of the specified node.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#getNodesCount--">getNodesCount</a></span>()</code>
<div class="block">Returns the number of nodes in the graph.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#isEdgeInGraph-org.gephi.graph.api.Edge-">isEdgeInGraph</a></span>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</code>
<div class="block">Checks if an edge is contained in the main view graph.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#isNodeFixed-org.gephi.graph.api.Node-">isNodeFixed</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Checks the fixed state of a node.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#isNodeInGraph-org.gephi.graph.api.Node-">isNodeInGraph</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Checks if a node is contained in the main view graph.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#mergeNodes-org.gephi.graph.api.Graph-org.gephi.graph.api.Node:A-org.gephi.graph.api.Node-org.gephi.graph.api.Column:A-org.gephi.datalab.spi.rows.merge.AttributeRowsMergeStrategy:A-boolean-">mergeNodes</a></span>(<a href="../../../../org/gephi/graph/api/Graph.html" title="interface in org.gephi.graph.api">Graph</a>&nbsp;graph,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;selectedNode,
          <a href="../../../../org/gephi/graph/api/Column.html" title="interface in org.gephi.graph.api">Column</a>[]&nbsp;columns,
          <a href="../../../../org/gephi/datalab/spi/rows/merge/AttributeRowsMergeStrategy.html" title="interface in org.gephi.datalab.spi.rows.merge">AttributeRowsMergeStrategy</a>[]&nbsp;mergeStrategies,
          boolean&nbsp;deleteMergedNodes)</code>
<div class="block">Merges 2 or more nodes into a new one node that has all the edges of the merged nodes.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#setNodeFixed-org.gephi.graph.api.Node-boolean-">setNodeFixed</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
            boolean&nbsp;fixed)</code>
<div class="block">Sets the fixed state of a node to the indicated.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#setNodesFixed-org.gephi.graph.api.Node:A-boolean-">setNodesFixed</a></span>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes,
             boolean&nbsp;fixed)</code>
<div class="block">Sets the fixed state of an array of nodes to the indicated.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="createNode-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNode</h4>
<pre><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;createNode(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label)</pre>
<div class="block">Creates a node with default id and the given label in the current graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>label</code> - Label for the node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The new created node</dd>
</dl>
</li>
</ul>
<a name="createNode-java.lang.String-org.gephi.graph.api.Graph-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNode</h4>
<pre><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;createNode(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
                <a href="../../../../org/gephi/graph/api/Graph.html" title="interface in org.gephi.graph.api">Graph</a>&nbsp;graph)</pre>
<div class="block">Creates a node with default id and the given label.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>label</code> - Label for the node</dd>
<dd><code>graph</code> - Graph to insert the node into</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The new created node</dd>
</dl>
</li>
</ul>
<a name="createNode-java.lang.String-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNode</h4>
<pre><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;createNode(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</pre>
<div class="block"><p>Creates a node with the given id and label in the current graph.</p>
 <p>If a node with that id already exists, no node will be created</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>label</code> - Label for the node</dd>
<dd><code>id</code> - Id for the node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The new created node or null if a node with the given id already exists</dd>
</dl>
</li>
</ul>
<a name="createNode-java.lang.String-java.lang.String-org.gephi.graph.api.Graph-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNode</h4>
<pre><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;createNode(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
                <a href="../../../../org/gephi/graph/api/Graph.html" title="interface in org.gephi.graph.api">Graph</a>&nbsp;graph)</pre>
<div class="block"><p>Creates a node with the given id and label.</p>
 <p>If a node with that id already exists, no node will be created</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>label</code> - Label for the node</dd>
<dd><code>id</code> - Id for the node</dd>
<dd><code>graph</code> - Graph to insert the node into</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The new created node or null if a node with the given id already exists</dd>
</dl>
</li>
</ul>
<a name="duplicateNode-org.gephi.graph.api.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>duplicateNode</h4>
<pre><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;duplicateNode(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block"><p>Duplicates a node if it is in the graph, and returns the new node.</p>
 <p>If the node has children, they are also copied as children of the new node.</p>
 <p>Sets the same properties and attributes for the node as the original node: id, label and <code>AttributeColumns</code> with <code>DATA</code> <code>AttributeOrigin</code>.
 Does not copy <code>AttributeColumns</code> with <code>COMPUTED</code> <code>AttributeOrigin</code>.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - Node to copy</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New node</dd>
</dl>
</li>
</ul>
<a name="duplicateNodes-org.gephi.graph.api.Node:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>duplicateNodes</h4>
<pre>void&nbsp;duplicateNodes(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</pre>
<div class="block">Tries to duplicate an array of nodes with the same behaviour as <code>duplicateNode</code> method.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodes</code> - Array of nodes to duplicate</dd>
</dl>
</li>
</ul>
<a name="createEdge-org.gephi.graph.api.Node-org.gephi.graph.api.Node-boolean-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEdge</h4>
<pre><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;createEdge(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
                <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
                boolean&nbsp;directed)</pre>
<div class="block"><p>Creates and edge between source and target node (if it does not already exist), directed or undirected, in the current graph.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>source</code> - Source node</dd>
<dd><code>target</code> - Target node</dd>
<dd><code>directed</code> - Indicates if the edge has to be directed</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New edge if the edge was created succesfully, null otherwise</dd>
</dl>
</li>
</ul>
<a name="createEdge-org.gephi.graph.api.Node-org.gephi.graph.api.Node-boolean-java.lang.Object-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEdge</h4>
<pre><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;createEdge(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
                <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
                boolean&nbsp;directed,
                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;typeLabel)</pre>
<div class="block"><p>Creates and edge between source and target node (if it does not already exist), directed or undirected, in the current graph.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>source</code> - Source node</dd>
<dd><code>target</code> - Target node</dd>
<dd><code>directed</code> - Indicates if the edge has to be directed</dd>
<dd><code>typeLabel</code> - Edge type label or null</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New edge if the edge was created succesfully, null otherwise</dd>
</dl>
</li>
</ul>
<a name="createEdge-org.gephi.graph.api.Node-org.gephi.graph.api.Node-boolean-org.gephi.graph.api.Graph-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEdge</h4>
<pre><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;createEdge(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
                <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
                boolean&nbsp;directed,
                <a href="../../../../org/gephi/graph/api/Graph.html" title="interface in org.gephi.graph.api">Graph</a>&nbsp;graph)</pre>
<div class="block"><p>Creates and edge between source and target node (if it does not already exist), directed or undirected.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>source</code> - Source node</dd>
<dd><code>target</code> - Target node</dd>
<dd><code>directed</code> - Indicates if the edge has to be directed</dd>
<dd><code>graph</code> - Graph to insert the node into</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New edge if the edge was created succesfully, null otherwise</dd>
</dl>
</li>
</ul>
<a name="createEdge-org.gephi.graph.api.Node-org.gephi.graph.api.Node-boolean-java.lang.Object-org.gephi.graph.api.Graph-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEdge</h4>
<pre><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;createEdge(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
                <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
                boolean&nbsp;directed,
                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;typeLabel,
                <a href="../../../../org/gephi/graph/api/Graph.html" title="interface in org.gephi.graph.api">Graph</a>&nbsp;graph)</pre>
<div class="block"><p>Creates and edge between source and target node (if it does not already exist), directed or undirected.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>source</code> - Source node</dd>
<dd><code>target</code> - Target node</dd>
<dd><code>directed</code> - Indicates if the edge has to be directed</dd>
<dd><code>typeLabel</code> - Edge type label or null</dd>
<dd><code>graph</code> - Graph to insert the node into</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New edge if the edge was created succesfully, null otherwise</dd>
</dl>
</li>
</ul>
<a name="createEdge-java.lang.String-org.gephi.graph.api.Node-org.gephi.graph.api.Node-boolean-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEdge</h4>
<pre><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;createEdge(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
                <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
                <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
                boolean&nbsp;directed)</pre>
<div class="block"><p>Creates and edge between source and target node (if it does not already exist), directed or undirected.</p>
 <p>If a edge with the given id already exists, no edge will be created.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - Id for the new edge</dd>
<dd><code>source</code> - Source node</dd>
<dd><code>target</code> - Target node</dd>
<dd><code>directed</code> - Indicates if the edge has to be directed</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New edge if the edge was created succesfully, null otherwise</dd>
</dl>
</li>
</ul>
<a name="createEdge-java.lang.String-org.gephi.graph.api.Node-org.gephi.graph.api.Node-boolean-java.lang.Object-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEdge</h4>
<pre><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;createEdge(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
                <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
                <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
                boolean&nbsp;directed,
                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;typeLabel)</pre>
<div class="block"><p>Creates and edge between source and target node (if it does not already exist), directed or undirected.</p>
 <p>If a edge with the given id already exists, no edge will be created.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - Id for the new edge</dd>
<dd><code>source</code> - Source node</dd>
<dd><code>target</code> - Target node</dd>
<dd><code>directed</code> - Indicates if the edge has to be directed</dd>
<dd><code>typeLabel</code> - Edge type label or null</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New edge if the edge was created succesfully, null otherwise</dd>
</dl>
</li>
</ul>
<a name="createEdge-java.lang.String-org.gephi.graph.api.Node-org.gephi.graph.api.Node-boolean-org.gephi.graph.api.Graph-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEdge</h4>
<pre><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;createEdge(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
                <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
                <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
                boolean&nbsp;directed,
                <a href="../../../../org/gephi/graph/api/Graph.html" title="interface in org.gephi.graph.api">Graph</a>&nbsp;graph)</pre>
<div class="block"><p>Creates and edge between source and target node (if it does not already exist), directed or undirected, in the current graph.</p>
 <p>If a edge with the given id already exists, no edge will be created.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - Id for the new edge</dd>
<dd><code>source</code> - Source node</dd>
<dd><code>target</code> - Target node</dd>
<dd><code>directed</code> - Indicates if the edge has to be directed</dd>
<dd><code>graph</code> - Graph to insert the node into</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New edge if the edge was created succesfully, null otherwise</dd>
</dl>
</li>
</ul>
<a name="createEdge-java.lang.String-org.gephi.graph.api.Node-org.gephi.graph.api.Node-boolean-java.lang.Object-org.gephi.graph.api.Graph-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEdge</h4>
<pre><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;createEdge(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
                <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
                <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
                boolean&nbsp;directed,
                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;typeLabel,
                <a href="../../../../org/gephi/graph/api/Graph.html" title="interface in org.gephi.graph.api">Graph</a>&nbsp;graph)</pre>
<div class="block"><p>Creates and edge between source and target node (if it does not already exist), directed or undirected, in the current graph.</p>
 <p>If a edge with the given id already exists, no edge will be created.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - Id for the new edge</dd>
<dd><code>source</code> - Source node</dd>
<dd><code>target</code> - Target node</dd>
<dd><code>directed</code> - Indicates if the edge has to be directed</dd>
<dd><code>typeLabel</code> - Edge type label or null</dd>
<dd><code>graph</code> - Graph to insert the node into</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New edge if the edge was created succesfully, null otherwise</dd>
</dl>
</li>
</ul>
<a name="createEdges-org.gephi.graph.api.Node-org.gephi.graph.api.Node:A-boolean-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEdges</h4>
<pre>void&nbsp;createEdges(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
                 <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;allNodes,
                 boolean&nbsp;directed)</pre>
<div class="block"><p>Tries to create edges between the source node and all other edges, directed or undirected.</p>
 <p>An edge won't be created if it already exists or is a self-loop.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>source</code> - Source node</dd>
<dd><code>allNodes</code> - All edges</dd>
<dd><code>directed</code> - Indicates if the edges have to be directed</dd>
</dl>
</li>
</ul>
<a name="deleteNode-org.gephi.graph.api.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteNode</h4>
<pre>void&nbsp;deleteNode(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Tries to delete a node checking first if it is on the graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - Node to delete</dd>
</dl>
</li>
</ul>
<a name="deleteNodes-org.gephi.graph.api.Node:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteNodes</h4>
<pre>void&nbsp;deleteNodes(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</pre>
<div class="block">Tries to delete an array of nodes checking first if they are on the graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodes</code> - Array of nodes to delete</dd>
</dl>
</li>
</ul>
<a name="deleteEdge-org.gephi.graph.api.Edge-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteEdge</h4>
<pre>void&nbsp;deleteEdge(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</pre>
<div class="block">Tries to delete an edge checking first if it is on the graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edge</code> - Edge to delete</dd>
</dl>
</li>
</ul>
<a name="deleteEdges-org.gephi.graph.api.Edge:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteEdges</h4>
<pre>void&nbsp;deleteEdges(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>[]&nbsp;edges)</pre>
<div class="block">Tries to delete an array of edges checking first if they are on the graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edges</code> - Array of edges to delete</dd>
</dl>
</li>
</ul>
<a name="deleteEdgeWithNodes-org.gephi.graph.api.Edge-boolean-boolean-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteEdgeWithNodes</h4>
<pre>void&nbsp;deleteEdgeWithNodes(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge,
                         boolean&nbsp;deleteSource,
                         boolean&nbsp;deleteTarget)</pre>
<div class="block">Tries to delete an edge checking first if it is on the graph
 and also deletes its source and target node if it is indicated.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edge</code> - Edge to delete</dd>
<dd><code>deleteSource</code> - Indicates if the source node has to be deleted</dd>
<dd><code>deleteTarget</code> - Indicates if the target node has to be deleted</dd>
</dl>
</li>
</ul>
<a name="deleteEdgesWithNodes-org.gephi.graph.api.Edge:A-boolean-boolean-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteEdgesWithNodes</h4>
<pre>void&nbsp;deleteEdgesWithNodes(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>[]&nbsp;edges,
                          boolean&nbsp;deleteSource,
                          boolean&nbsp;deleteTarget)</pre>
<div class="block">Tries to delete an array of edges checking first if they are on the graph
 and also deletes their source and target node if it is indicated.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edges</code> - Array of edges to delete</dd>
<dd><code>deleteSource</code> - Indicates if the source nodes have to be deleted</dd>
<dd><code>deleteTarget</code> - Indicates if the target nodes have to be deleted</dd>
</dl>
</li>
</ul>
<a name="mergeNodes-org.gephi.graph.api.Graph-org.gephi.graph.api.Node:A-org.gephi.graph.api.Node-org.gephi.graph.api.Column:A-org.gephi.datalab.spi.rows.merge.AttributeRowsMergeStrategy:A-boolean-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mergeNodes</h4>
<pre><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;mergeNodes(<a href="../../../../org/gephi/graph/api/Graph.html" title="interface in org.gephi.graph.api">Graph</a>&nbsp;graph,
                <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes,
                <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;selectedNode,
                <a href="../../../../org/gephi/graph/api/Column.html" title="interface in org.gephi.graph.api">Column</a>[]&nbsp;columns,
                <a href="../../../../org/gephi/datalab/spi/rows/merge/AttributeRowsMergeStrategy.html" title="interface in org.gephi.datalab.spi.rows.merge">AttributeRowsMergeStrategy</a>[]&nbsp;mergeStrategies,
                boolean&nbsp;deleteMergedNodes)</pre>
<div class="block">Merges 2 or more nodes into a new one node that has all the edges of the merged nodes.
 An AttributeRowsMergeStrategy must be provided for each column of the nodes.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>graph</code> - Graph that contains the nodes</dd>
<dd><code>nodes</code> - Nodes to merge (at least 1)</dd>
<dd><code>selectedNode</code> - Main selected node of the nodes to merge (or null to use first node)</dd>
<dd><code>columns</code> - Columns to apply a merge strategy in each row</dd>
<dd><code>mergeStrategies</code> - Strategies to merge rows of each column in <code>columns</code></dd>
<dd><code>deleteMergedNodes</code> - Indicates if merged nodes should be deleted</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>New resulting node</dd>
</dl>
</li>
</ul>
<a name="setNodeFixed-org.gephi.graph.api.Node-boolean-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNodeFixed</h4>
<pre>void&nbsp;setNodeFixed(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
                  boolean&nbsp;fixed)</pre>
<div class="block">Sets the fixed state of a node to the indicated.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - Node to set fixed state</dd>
<dd><code>fixed</code> - Fixed state for the node</dd>
</dl>
</li>
</ul>
<a name="setNodesFixed-org.gephi.graph.api.Node:A-boolean-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNodesFixed</h4>
<pre>void&nbsp;setNodesFixed(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes,
                   boolean&nbsp;fixed)</pre>
<div class="block">Sets the fixed state of an array of nodes to the indicated.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodes</code> - Array of nodes to set fixed state</dd>
<dd><code>fixed</code> - Fixed state for the nodes</dd>
</dl>
</li>
</ul>
<a name="isNodeFixed-org.gephi.graph.api.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNodeFixed</h4>
<pre>boolean&nbsp;isNodeFixed(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Checks the fixed state of a node.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - Node to check</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Fixed state of the node</dd>
</dl>
</li>
</ul>
<a name="getNodeNeighbours-org.gephi.graph.api.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNodeNeighbours</h4>
<pre><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;getNodeNeighbours(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Prepares and returns an array with the neighbour nodes of the specified node.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - Node to get neighbours</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Array of neighbour nodes</dd>
</dl>
</li>
</ul>
<a name="getNodeEdges-org.gephi.graph.api.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNodeEdges</h4>
<pre><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>[]&nbsp;getNodeEdges(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Prepares and returns an array with the edges incident to the specified node.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - Node to get edges</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Array of incident edges</dd>
</dl>
</li>
</ul>
<a name="getNodesCount--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNodesCount</h4>
<pre>int&nbsp;getNodesCount()</pre>
<div class="block">Returns the number of nodes in the graph.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Nodes count</dd>
</dl>
</li>
</ul>
<a name="getEdgesCount--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdgesCount</h4>
<pre>int&nbsp;getEdgesCount()</pre>
<div class="block">Returns the number of edges in the graph.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Edges count</dd>
</dl>
</li>
</ul>
<a name="isNodeInGraph-org.gephi.graph.api.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNodeInGraph</h4>
<pre>boolean&nbsp;isNodeInGraph(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Checks if a node is contained in the main view graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - Node to check</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the node is in the graph, false otherwise</dd>
</dl>
</li>
</ul>
<a name="areNodesInGraph-org.gephi.graph.api.Node:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>areNodesInGraph</h4>
<pre>boolean&nbsp;areNodesInGraph(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</pre>
<div class="block">Checks if an array of nodes are contained in the main view graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodes</code> - Array of nodes to check</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if all the nodes are in the graph, false otherwise</dd>
</dl>
</li>
</ul>
<a name="isEdgeInGraph-org.gephi.graph.api.Edge-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEdgeInGraph</h4>
<pre>boolean&nbsp;isEdgeInGraph(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</pre>
<div class="block">Checks if an edge is contained in the main view graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edge</code> - Edge to check</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the edge is in the graph, false otherwise</dd>
</dl>
</li>
</ul>
<a name="areEdgesInGraph-org.gephi.graph.api.Edge:A-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>areEdgesInGraph</h4>
<pre>boolean&nbsp;areEdgesInGraph(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>[]&nbsp;edges)</pre>
<div class="block">Checks if an array of edges are contained in the main view graph.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edges</code> - Edges to check</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if all the edges are in the graph, false otherwise</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/GraphElementsController.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/gephi/datalab/api/DataLaboratoryHelper.html" title="class in org.gephi.datalab.api"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/gephi/datalab/api/SearchReplaceController.html" title="interface in org.gephi.datalab.api"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/gephi/datalab/api/GraphElementsController.html" target="_top">Frames</a></li>
<li><a href="GraphElementsController.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2016 <a href="http://consortium.gephi.org">Gephi Consortium</a>. All rights reserved.</small></p>
</body>
</html>
